package com.spring.springboot.sys.core.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 宋义州
 * @date 2022-07-23  13:47
 * @description 请求权限鉴定自定义返回
 */
@Getter
@AllArgsConstructor
public enum RequestErrorEnum {

    LOGIN_EXPIRE(401, "未登录或者登录过期！"),
    NOT_ACCESS(403, "访问接口没有权限");

    private final Integer code;

    private final String message;
}
